package com.mew.common.dc.mapper;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.mew.common.entity.events.Sign;
import org.apache.ibatis.annotations.Param;

@DS("mew_core")
public interface SignMapper extends BaseMapper<Sign> {
    int replace(Sign sign);
    int gain(@Param("userId") long userId,@Param("type") int type);
}
